function showTab(url, name, id) {
	let length = $("li[lay-id=" + id + "]").length;
	let element = layui.element;

	if (length == 0) {
		let fullUrl = "/" + url;
		let height = $(window).height() - 150;
		let content = '<iframe style="width: 100%;height: ' + height + 'px" src="' + fullUrl + '" frameborder="0" scrolling="yes">'
		element.tabAdd('menu', {
			title: name,
			content: content,
			id: id
		});
	}
	element.tabChange("menu", id);
}
